/*
 * Created by LiuYou on 2020/11/27.
 *
 */

#include "GraphicsCard.hpp"
#include "GraphicsCardImpl.hpp"

GraphicsCard::GraphicsCard() = default;

GraphicsCard::GraphicsCard(int graphicsCardId, const std::string& graphicsCardFeature) : pImpl(
        std::make_shared<GraphicsCardImpl>(graphicsCardId, graphicsCardFeature)) {}

int GraphicsCard::getGraphicsCardId() const {
    return pImpl->getGraphicsCardId();
}

const std::string& GraphicsCard::getGraphicsCardFeature() const {
    return pImpl->getGraphicsCardFeature();
}


